/*
** xmalloc.c for galaf in /home/compilation/galaf-lib
** 
** Made by christophe labonnemartinez
** Login   <labonn_c@epitech.net>
** 
** Started on  Fri Mar 23 03:00:25 2012 christophe labonnemartinez
** Last update Sat Aug 11 12:41:29 2012 christophe labonnemartinez
*/

#include <stdlib.h>
#include "includes/my.h"

void	*xmalloc(unsigned int size)
{
  void	*p;

  if (!(p = malloc(size)))
    exit(EXIT_FAILURE);
  return (p);
}
